package com.cloudkinto.service.fbaorderoutput.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2021/10/15
 */
@Data
public class OpenApiFbaOrderOutputPackageAddReq {

    @ApiModelProperty(name = "长度cm", required = true)
    @Min(value = 0, message = "pls.input.length.g0")
    private double length;

    @ApiModelProperty(name ="宽度cm", required = true)
    @Min(value = 0, message = "pls.input.width.g0")
    private double width;

    @ApiModelProperty(name ="高度cm", required = true)
    @Min(value = 0, message = "pls.input.height.g0")
    private double height;

    @ApiModelProperty(name ="重量kg", required = true)
    @Min(value = 0, message = "pls.input.weight.g0")
    private double weight;

    @ApiModelProperty(name ="po号(亚马逊货件追踪编号)")
    @NotBlank(message = "pls.input.po")
    private String poNumber;

    @ApiModelProperty(name ="UPC/FNSkku")
    private String upcNumber;

    @ApiModelProperty(name ="备注")
    private String tips;

    @ApiModelProperty(name ="数量", required = true)
    @Min(value = 0, message = "pls.input.count.g0")
    private int packageCount;

    //    @NotEmpty(message = "请选择商品")
    private List<OpenApiFbaOrderOutputProductAddReq> productList;
}
